package domain;

import java.util.HashSet;
import java.util.Set;

public class ContactGroup {
	private long id;
	private String groupName;
	private Set<Contact> contacts=new HashSet<Contact>();
	
	
	public ContactGroup(){
		contacts=new HashSet<Contact>();//faut il l'instancier
	}
	
	public Set<Contact> getContacts(){
		return contacts;
	}
	
	public void setContacts(Set<Contact> cs){
		contacts=cs;
	}
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
}
